/*
 * @Author: wwssaabb
 * @Date: 2021-09-07 16:08:36
 * @LastEditTime: 2021-09-07 17:51:52
 * @FilePath: \gshop-client\vite.config.js
 */
import vue from "@vitejs/plugin-vue";
import styleImport from "vite-plugin-style-import";
// import pxtovw from "postcss-px-to-viewport";\
/* new pxtovw({

    }), */

export default {
  plugins: [
    vue(),
    styleImport({
      libs: [{
        libraryName: "vant",
        esModule: true,
        resolveStyle: (name) => `vant/es/${name}/style`,
      }, ],
    })
  ],
  
};